package com.dq.controller;

import com.dq.mapper.CareListMapper;
import com.dq.mapper.GoodsMapper;
import com.dq.pojo.CareList;
import com.dq.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.lang.Nullable;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Controller
public class RouterController {
    @Autowired
    GoodsMapper goodsMapper;
    @Autowired
    CareListMapper careListMapper;

    @RequestMapping({"/","/index"})
    public String index(Model model){
        return "index";
    }


}
